package com.sxy.demo.sxy;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 竞价列表
 * </p>
 *
 * @author YangGl
 * @since 2022-10-27
 */
@Data
@Accessors(chain = true)
@ApiModel(value="RmsActivityGoodsBidding对象", description="竞价列表")
@TableName("rms_activity_goods_bidding")
public class ActivityGoodsBidding extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动ID")
    private Long activityId;

    @ApiModelProperty(value = "公共spu_id")
    private Long goodsSpuId;

    @ApiModelProperty(value = "spu编码")
    private String spuCode;

    @ApiModelProperty(value = "公共sku_id")
    private Long goodsSkuId;

    @ApiModelProperty(value = "商家的商品sku_id")
    private Long skuId;

    @ApiModelProperty(value = "sku编码")
    private String skuCode;

    @ApiModelProperty(value = "提报类型 1:供应链 2:商家")
    private Integer applyType;

    @ApiModelProperty(value = "活动库存")
    private Integer activityStock;

    @ApiModelProperty(value = "活动供货价")
    private BigDecimal activitySupplyPrice;

    @ApiModelProperty(value = "活动批发价")
    private BigDecimal activityWholesalePrice;

    @ApiModelProperty(value = "活动零售价")
    private BigDecimal activityRetailPrice;

    @ApiModelProperty(value = "活动出厂价")
    private BigDecimal activityChannelWholesalePrice;

    @ApiModelProperty(value = "状态 0:竞价失败 1:竞价成功 2:商品取消活动 -1:已取消 ")
    private Integer state;

    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商家编码")
    private String supplierCode;

    @ApiModelProperty(value = "商家账号")
    private String supplierTel;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "rms_activity_sign_up_sku表的主键id")
    private Long skuSignUpId;

    @ApiModelProperty(value = "商家sku的平均运费")
    private BigDecimal freight;

    @ApiModelProperty(value = "批发价")
    private BigDecimal wholesalePrice;

    @ApiModelProperty(value = "零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty(value = "出厂价")
    private BigDecimal channelWholesalePrice;
}
